package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public class Collect extends Model<Collect> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String diningId;
	private String diningName;
	private String diningImage;
	private String time;
	private String userId;
	@TableField(exist = false)
	private String grade;

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getDiningId() {
		return diningId;
	}

	public void setDiningId(String diningId) {
		this.diningId = diningId;
	}

	public String getDiningName() {
		return diningName;
	}

	public void setDiningName(String diningName) {
		this.diningName = diningName;
	}

	public String getDiningImage() {
		return diningImage;
	}

	public void setDiningImage(String diningImage) {
		this.diningImage = diningImage;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Collect{" + "id=" + id + ", phone=" + phone + ", diningId=" + diningId + ", diningName=" + diningName
				+ ", diningImage=" + diningImage + ", time=" + time + "}";
	}
}
